<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class UserType extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'user_type';
    public $timestamps = false;
    protected $fillable = ["name"];

    public function users(){
        return $this->hasMany(User::class,"cate_type");
    }
}
